package cn.mesmile.object;

/**
 * @author zb
 * @date 2021/2/25 18:33
 * @Description
 */
public class Person {

    public String username;

    public int age;

    public Person(){}

    public Person(String username,int age){
        this.username = username;
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "username='" + username + '\'' +
                ", age=" + age +
                '}';
    }
}
